▍ humdrum codex / soft
1.1 KB raw
id
TASK-006
title
TUI git page: multi-repo status via gita
status
To Do
assignee
created_date
2026-06-11 02:48
labels
feature
dependencies
priority
medium
ordinal
6000

Description

New page in tui/dashboard.py showing live status of all repos tracked by gita.

Data: run 'gita ll' via subprocess (thread=True worker, refresh on page enter + keybinding). Parse ANSI-stripped output — columns are: name, branch, status flags (*=dirty, ?=untracked, ↑=ahead, ↓=behind, ∅=no remote), last commit message.

Display as DataTable (like sys-procs): Columns: Name | Branch | Status | Last commit Color coding: dirty/untracked rows = yellow, behind = red, ahead = blue, clean = dim Rows sortable or at least grouped: dirty first, then ahead, then clean

Keybindings: r = re-run gita ll, Enter on row = show full 'gita context ' or 'git log -5' in a modal.

Note: gita ll output contains ANSI color codes — strip with re.sub or use strip_ansi before parsing. Sample output structure: 'Repo-Name [magenta]branch [flags] last commit message'